<template>
    <div-row :obj="obj" class="text-picture">
        <div class="CoverImg" :style="{backgroundImage: `url(${obj.image})`}">
            <div class="bg-block"/>
            <div class="col-text desc">
                <h1 class="text-title" :class="obj.animateTitle? 'wow '+obj.animateTitle : ''" v-html="obj.title"/>
                <p class="text-desc" :class="obj.animateText? 'wow '+obj.animateText : ''" v-html="obj.smTitle"/>
            </div>

        </div>
    </div-row>
</template>
<script>

export default {
    name: 'CoverImg',
    props: {
        obj: {
            type: Object
        }
    }
}
</script>

